//
//  EqpInfo.h
//  Hive
//
//  Created by 惠俊贝 on 15/9/2.
//  Copyright (c) 2015年 ZM. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface EqpInfo : NSObject
@property (nonatomic, copy) NSString *Model;            //1.设备类型
@property (nonatomic, copy) NSString *InternalMun;      //2.内部设备号
@property (nonatomic, copy) NSString *EqpName;          //3.设备名称
@property (nonatomic, copy) NSString *IMEI;             //4.IMEI唯一码
@property (nonatomic, copy) NSString *SimNum;           //5.SIM卡号
@property (nonatomic, copy) NSString *TrdTime;          //6.销售时间
@property (nonatomic, copy) NSString *ValidFrom;        //7.设备开通时间
@property (nonatomic, copy) NSString *ValidEnd;         //8.设备到期时间
@property (nonatomic, copy) NSString *GroupID;          //9.组名ID
@property (nonatomic, copy) NSString *GroupName;        //10.组名称
@property (nonatomic, copy) NSString *DeviceID;         //11.设备表
@property (nonatomic, copy) NSString *DeviceOwenerID;   //12.用户设备表
@property (nonatomic, copy) NSString *Lng;              //13.经度
@property (nonatomic, copy) NSString *Lat;              //14.纬度
@property (nonatomic, copy) NSString *Address;          //15.地址
@property (nonatomic, copy) NSString *PositionTime;     //16.定位时间
@property (nonatomic, copy) NSString *Type;             //17.定位类型
@property (nonatomic, copy) NSString *BL;               //18.电量
@property (nonatomic, copy) NSString *BS;               //19.设备按压状态
@property (nonatomic, copy) NSString *IsOnline;         //20.在离线
@property (nonatomic, copy) NSString *Status;           //21.设备状态
@property (nonatomic, copy) NSString *Speed;            //22.速度

@property (nonatomic, assign) double GDLng;             //高德经度
@property (nonatomic, assign) double GDLat;             //高德纬度

@property (nonatomic, copy) NSString *CarDeviceID;      // 车辆设备关系ID
@property (nonatomic, copy) NSString *CarNumber;        // 车牌号
@property (nonatomic, copy) NSString *CarInfoID;        // 车辆ID
@property (nonatomic, copy) NSString *BLng;             // 百度地图经度
@property (nonatomic, copy) NSString *BLat;             // 百度地图纬度
@property (nonatomic, copy) NSString *DeviceMode;       // 设备模式
@property (nonatomic, copy) NSString *PledgerName;      // 抵押人名字
@property (nonatomic, copy) NSString *PledgementID;     // 抵押人ID
@property (nonatomic, copy) NSString *PledgeCarID;      // 抵押人车辆关系

+ (EqpInfo *)createEqpInfoWithDic:(NSDictionary *)dic;

+ (NSArray *)createEqpInfosWithDicArray:(NSArray *)arr;
@end
